<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
            /* 导航栏 */
            div{
                width: 80px;
                height: 50px;
                background-color: #a7d790;
                display: inline-block;
                line-height: 50px;
                color: #fafafa;
                text-align: center;
            }
            div:hover{
                background-color: #eadc1b;
            }
    </style>
</head>
<body>
    <div>导航1</div>
    <div>导航2</div>
    <div>导航3</div>
    <div>导航4</div>
    <div>导航5</div>
</body>
</html>